<%@ include file="header.jsp" %>
<script type="text/javascript">
			function setCurrentMenu(){
			}
</script>
 <%
		if(session.getAttribute("name")!=null){
					response.sendRedirect("ShowQuestions");
		}
 %>
 <div class="container">
 <% 
Map<String,String> map=null;
if(request.getAttribute("exceptionmap")!=null){
map=(HashMap<String,String>)request.getAttribute("exceptionmap"); 
}
%>
            <section>				
                <div id="container_demo" >
       				 <div id="wrapper">
                        <div id="login" class="animate form">
                            <form  action="Login" method="post" autocomplete="on"> 
                                <h1>Log in</h1> 
                                <p> 
                                    <label for="username" class="uname" data-icon="u" >  Email  </label>
                                    <input id="emailsignup" name="emailsignup" required="required" maxlength="90" type="email" placeholder="mysupermail@mail.com"/>
                                    <label style="color: red">
		                                  <%if(map!=null && map.get("emailsignup")!=null){
												out.print(map.get("emailsignup"));
											} %>
                                    </label>
                                </p>
                                <p> 
                                    <label for="password" class="youpasswd" data-icon="p">  Password </label>
                                    <input id="password" name="password" maxlength="90" required="required" type="password" placeholder="123" />
                                    <label style="color: red">
		                                  <%if(map!=null && map.get("password")!=null){
												out.print(map.get("password"));
											} %>
                                    </label> 
                                </p>
                                <p>
                                	<a href="ForgotPassword.jsp" style="text-decoration: none;color:#6A9FAB">Forgot Password ? </a>
                                </p>
                              	<p>
                              		<label style="color: red">
		                                  <%if(map!=null && map.get("loginmsg")!=null){
												out.print(map.get("loginmsg"));
											} %>
                                    </label> 
                              	</p>
                                <p> 
                                    <input type="submit" value="Login"style="cursor: pointer;width:115px;padding-left:10px;margin-left:310px "/> 
								</p>
                                <p class="change_link">
									Not a member yet ?
									<a href="Register.jsp" class="to_register">Join us</a>
								</p>
                            </form>
                        </div>

                        



                    </div>
                </div>  
            </section>
        </div>

</body>

<%@ include file="footer.jsp" %>